package com.daxia.bumall.common;

/**
 * 
 * 公司性质
 *
 */
public enum CompanyNature {
	first(1, "外商独资"),
	second(2, "合资"),
	third(3, "上市公司"),
	fourth(4, "国企"),
	fifth(5, "国家机关"),
	sixth(6, "事业单位"),
	seventh(7, "民营/私企"),
	eighth(8, "代表处"),
	ninth(9, "非营利性组织"),
	tenth(10, "股份制"),
	eleventh(11, "其他");
	
	private int value;
	private String remark;
	
	public int getValue() {
		return this.value;
	}
	
	public String getRemark() {
		return this.remark;
	}
	
	private CompanyNature(int value, String remark) {
		this.value = value;
		this.remark = remark;
	}
	
	public CompanyNature getByValue(int value) {
		for(CompanyNature cgs : CompanyNature.values()) {
			if(cgs.value == value) {
				return cgs;
			}
		}
		return null;
	}
}
